package day06.Ti;

import java.util.Scanner;

public class TI06YC {
    public static void main(String[] args) {
        mether();
    }

    private static void mether() {
        String []arr= {"星期一","星期二","星期三","星期四","星期五","星期六","星期日"};
        try {
            Scanner sc=new Scanner(System.in);
            System.out.println("请输入一个整数1--7的值：");
            int i = sc.nextInt();
            String s = arr[i - 1];
            System.out.println(s);

        } catch (Exception e) {
            System.out.println("输入错误！！");
        }
    }
}
